Blockly.Blocks['1635506172527'] = {
  init: function() {
    this.jsonInit({
      "type": "1635506172527",
      "message0": "Forwalk00",
      "previousStatement": null,
      "nextStatement": null,
      "colour": '#C643F1',
      "toolip": "",
      "helpUrl": ""
    });
  }
};

Blockly.Lua['1635506172527'] = function(block) {
  var code = "MOTOsetspeed(30)\nMOTOrigid16(30,30,30,55,85,100,90,50,30,30,30,75,85,100,90,70)\nMOTOrigid16(30,30,30,30,30,30,30,30,30,30,30,65,75,80,75,65)\n\n\n-- 启动\nMOTOsetspeed(15)\nMOTOmove19(80, 35, 100, 93, 91, 50, 128, 88, 120, 165, 100, 95, 117, 168, 62, 95, 128, 71, 100)\nMOTOwait()\n\n\n-- 循环次数\n\n\n-- 迈左脚\nMOTOrigid16(30,30,30,50,55,50,50,50,30,30,30,75,85,100,90,60)\n\n\n-- 4\nMOTOsetspeed(10)\nMOTOmove19(80, 35, 90, 93, 93, 40, 140, 88, 120, 165, 90, 95, 121, 168, 63, 95, 128, 71, 100)\nMOTOwait()\nMOTOrigid16(30,30,30,50,60,60,60,60,30,30,30,50,60,60,60,60)\nMOTOsetspeed(10)\nMOTOmove19(80, 35, 80, 98, 93, 40, 135, 98, 120, 165, 80, 100, 121, 165, 70, 100, 128, 71, 100)\nMOTOwait()\nMOTOmove19(80, 35, 80, 102, 93, 40, 135, 105, 120, 165, 80, 102, 121, 165, 70, 105, 128, 71, 100)\nMOTOwait()\nMOTOmove19(80, 35, 80, 102, 79, 32, 137, 108, 120, 165, 80, 108, 121, 165, 70, 108, 128, 71, 100)\nMOTOwait()\nMOTOrigid16(20,20,20,85,85,95,85,85,20,20,20,85,55,55,55,85)\nMOTOsetspeed(6)\nMOTOmove19(80, 30, 100, 100, 93, 55, 124, 100, 120, 170, 100, 100, 107, 145, 76, 100, 128, 71, 100)\nMOTOwait()\n";
  return code;
}

